package shun.demo.gson.model;

import com.google.gson.annotations.SerializedName;

/**
 * Created by chen on 1/18/14.
 */
public class BannerDetail {

    // For game
    @SerializedName("game_id")
    private String mGameId;

    @SerializedName("game_name")
    private String mGameName;

    @SerializedName("pack_name")
    private String mPackageName;

    @SerializedName("icon_url")
    private String mIconUrl;

    // For game union
    @SerializedName("union_id")
    private String mUnionId;

    @SerializedName("union_name")
    private String mUnionName;

    public String getGameId() {
        return mGameId;
    }

    public void setGameId(String gameId) {
        mGameId = gameId;
    }

    public String getGameName() {
        return mGameName;
    }

    public void setGameName(String gameName) {
        mGameName = gameName;
    }

    public String getPackageName() {
        return mPackageName;
    }

    public void setPackageName(String packageName) {
        mPackageName = packageName;
    }

    public String getIconUrl() {
        return mIconUrl;
    }

    public void setIconUrl(String iconUrl) {
        mIconUrl = iconUrl;
    }

    public String getUnionId() {
        return mUnionId;
    }

    public void setUnionId(String unionId) {
        mUnionId = unionId;
    }

    public String getUnionName() {
        return mUnionName;
    }

    public void setUnionName(String unionName) {
        mUnionName = unionName;
    }

    @Override
    public String toString() {

        StringBuilder sb = new StringBuilder();
        sb.append("\ngame_id=")
                .append(mGameId)
                .append("\ngame_name=")
                .append(mGameName)
                .append("\npackage_name=")
                .append(mPackageName)
                .append("\nicon_url")
                .append(mIconUrl)
                .append("\nunion_id=")
                .append(mUnionId)
                .append("\nunion_name")
                .append(mUnionName);
        return sb.toString();
    }
}
